package cn.jiaqiang.chatgpt.data.types.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * User: jia-qiang
 * Date: 2024-04-04
 * Time: 21:33
 */
@Getter
@AllArgsConstructor
public enum UserTypeChannel {
    WHITE_USER("白名单用户"),
    NORMAL_USER("不同用户"),
    ;

    private final String info;

    public static UserTypeChannel getInfo(boolean flag) {
        if (flag) {
            return UserTypeChannel.WHITE_USER;
        }
        return UserTypeChannel.NORMAL_USER;
    }
}
